<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html">
 
    <h:head>
    	<title>
    		<h:outputText value="#{bundle.application_name}" />
    	</title>
    </h:head>
    
    <h:body bgcolor="white">
    
    	<h3><h:outputText value="#{bundle.application_name}" /> :: Login Page</h3>
    	
    	<h:form id="login_form">
    	
	    	<h:messages style="color:red;margin:8px;" />
	    	
    		<div>
    		
    			<div> 
					Officer Id: 
					<h:inputText id="login_input_officer-id" value="#{officerBean.id}"></h:inputText>
				</div>
				
				<div>
	    			Password: 
	    			<h:inputText id="login_input_officer-pwd" value="#{officerBean.password}"></h:inputText>
	    		</div>
	    		
	    		<h:commandButton action="#{officerBean.login()}" value="Login"></h:commandButton>
	    		
    		</div>
    		
    	</h:form>
    	
    </h:body>
    
</html>